package com.etc.entity;

import lombok.ToString;
import org.springframework.stereotype.Component;

@Component
@ToString
public class Categorys {
    private Integer category_no;

    private String category_name;

    public Integer getCategory_no() {
        return category_no;
    }

    public void setCategory_no(Integer category_no) {
        this.category_no = category_no;
    }

    public String getCategory_name() {
        return category_name;
    }

    public void setCategory_name(String category_name) {
        this.category_name = category_name == null ? null : category_name.trim();
    }

    public Categorys() {
    }

    public Categorys(Integer category_no, String category_name) {
        this.category_no = category_no;
        this.category_name = category_name;
    }

    public Categorys(String category_name) {
        this.category_name = category_name;
    }
}